<?php

$title = 'My uploads';
$subtitle = 'Direct view uploadded files /data/uploads_images';
$this->headTitle($title);
//$this->setAttribute('method', 'post');
?>
<div class="well well-small">
     <h3><?php echo $this->escapeHtml($title);?></h3>
     <h4><?php echo $this->escapeHtml($subtitle);?></h4>
</div> 

 

<table class="table">
 <tr>
     <th>Name</th>
     <th>Action</th>
     
 </tr>
 <?php foreach ($this->myUploads as $myUpload) : ?>
 <tr>
     <td><?php echo $this->escapeHtml($myUpload);?></td>  
     <td>   
         <a href="<?php echo $this->url('upploadmanager', array('action'=>'directfiledownload', 'id' => urlencode($myUpload)));?>">Get |</a>    
         <a href="<?php echo $this->url('upploadmanager', array('action'=>'viewuploadedfiles', 'id' => urlencode($myUpload)));?>"> View</a>
     </td>
 </tr>
 <?php endforeach; ?>
 </table>